Updated 24-Oct-2011


reverted to grub4dos for the bootloader - remprep was too unreliable
FreeDOS also fixed.
To access FreeDOS/ATAPWD un/locking tools - select FreeDOS in the boot menu & press enter twice. Navigate to the FreeDOS folder using DOS commands (cd freedos).

Quick use/set-up:
Extract xboxhdm2.2 to the root of your USB flash drive.
Populate the /hdm/C folder with the M$ Dashboard files.
Populate the /hdm/E folder with any chosen files (games saves etc) that you require installed.
Place your "eeprom.bin" file in the eeprom folder located on the root of the flash drive if you intend to un/lock.
To install the multiboot, download grub4dos Installer (ver 1.1) (http://themudcrab.com/acronis_grub4dos.php) & follow the install instructions from Section 1.
That's it! Reboot using the USB drive and if all gone well, you should see the boot screen. 

=========================================================

Xboxhdm2.2

Updated 14-Apr-2010

This is a small update to xboxhdm2.1 - I hope it gives end users an alternative option if they are having problems getting Xboxhdm2.1 to multiboot.
This is (once again) based on the excellent work of fuwi: http://www.911cd.net/forums//index.php?showtopic=21702
I take no credit for this. I have just repackaged whats available into something that Xbox users can work with.

Change List:

1.	Now uses BartPE to write a bootloader. 
2.	Grubloader remains as the front-end GUI for multiboot loading but updated to Feb 2010.
3.	Minor fixes of FreeDOS paths & folders.
4.	PDF reader added to Slax to view the FAQ  but the module may require manual loading (see additional help file if required).
6.	The use of MHDD for low-level HDD diagnostics & other XBOX un/locking functions is acknowledged. This was demonstrated by rmathiot as an effective and alternative method of unlocking in certain scenarios. For more details refer to 'unlocking using MHDD' in help folder.
5.	Extra documentation added to provide more information on the functions of xboxhdm2.2 and its associated tools (FreeDOS/MHDD/hparm/Slax).
7.	Added rmathiot's modified Ndure3.1 script that (experimentally) allows XBOX rebuilds using xboxhdm2.2 & Ndure 3.1.  
8.	Grub4DOS cd-kickers have been 'fixed' for this build.

=========================================================

Some caveats and disclaimers:

1.	The tool is designed for advanced users as it assumes you are already familiar with xboxhdm.
2.	This is primarily designed to boot from USB flash drives.
3.	If your PCs BIOS does not support USB booting  all is not lost. An ISO (cd-kicker) has been devised to allow your PC to boot from CD and then load the files of USB (chain-loading). The ISO is contained within the cd-kicker folder. Burn the ISO to CD-R and try booting with USB attached.
4.	It may not work at all and may thrash your drive. Ensure you already have eeprom.bin and can recover with the original xboxhdm.
5.	HDD start up times will likely be greatly extended if you have a locked HDD attached, although this is markedly reduced when booting from FreeDOS. Disabling the auto IDE detection in your BIOS may well allow locked HDD to boot in well reduced times/similar to FreeDOS!!
6.	This tool is designed primarily for IDE HDD. SATA HDDs (via an adaptor) remain largely untested/unreported.

Additional features over old xboxhdm1.9:

1.	Boots from USB.
2.	Integrated dual-booting allows for Linux & DOS tools to co-exist to get your HDD un/locked.
3.	Any of the 4 IDE connections may be used now to connect Xbox HDD. CD-ROM drive not needed (if you can boot from USB).
4.	No reboots between HDD rebuilds and locking.
5.	Linux ISO building no longer required.


GUI (Slax) & Console versions available  depending on your memory requirements.

To unlock full potential of xboxhdm2.2  you are going to need (as a minimum) your eeprom and optionally but highly recommended, the M$ Dashboard files (to allow rebuilds etc...)

How to use (I tested this in Win 7 only).

1.	First determine how much memory is in your system.
2.	Pending your memory requirements, download either xboxhdm2.2-full-gui.rar (if using more than 512mb RAM) or xboxhdm2.2-lite-console.rar (if using less than 512mb RAM).
3.	To get your USB to multi-boot the different file systems you need to download Bootable USB-Drive Utility 1.8.1 here: http://www.911cd.net/forums//index.php?showtopic=21702
4.	Run the BOOTABLE_USB-DRIVE command script.
5.	Select v to make a note of what drive letter your USB is assigned to.
6.	Select c (create) in the MS_DOS window.
7.	Select s (create a new USB-stick) to create Fat32 stick
8.	Now select the drive letter your USB-stick has been assigned to. Follow on-screen warnings about wiping your USB stick etc...
9.	Bootable USB-Drive Utility 1.8.1 will now create your bootable USB stick.
10.	Don't create BartPE files on the USB stick when requested. 
11.	Extract all the contents of your xboxhdm2.2 zip (GUI or Console) to the root of your USB flash drive, overwriting any files.
12.	Place your "eeprom.bin" file in the "eeprom" folder located on the root of the flash drive.
13.	Populate the /hdm/C folder with the M$ Dashboard files.
14.	Populate the /hdm/E folder with any chosen files (games saves etc) that you require installed.
15.	That's it! Reboot using the USB drive and if all gone well, you should see the new (blue) boot screen. Choose what you need in the boot menu or wait a few seconds and Slax GUI/console (depending what version you downloaded) will be automatically selected.
16.	Some help files now located in a help folder on the root of the USB stick including the (outdated) xboxhdmFAQ_8.1.pdf. There are also tips/code on using FreeDOS to un/lock your HDD and other some help on other advanced methods (hdparm/MHDD).

Quick use (GUI):

1.	Build & boot as described exactly above.
2.	You have a choice of xboxhdm2.2 or FreeDOS. xboxhdm2.2 is usually your best bet.
3.	Slax will boot into main desktop.
4.	Click the Konsole. 
5.	Type in xboxhd2  if your build was correct then xboxhdm2.2 will tell you that hdm folders (with M$ Dash files) & eeprom folder (with eeprom file) have been found. If not  check your build!
6.	Type yes to continue
7.	You have 3 choices a) lock your HDD b) run xboxhdm (original via Qemu) or c) unlock your HDD 
8.	Selecting a) will run automatic script for you to lock your XBOX HDD. Just follow on-screen prompts.
9.	Selecting b) will run xboxhdm and allow you to proceed with an Xbox rebuild.  Just follow on-screen prompts. You cannot lock your HDD under xboxhdm  you will need to go back to main menu (as in stage 5).
10.	Selecting c) will run an automatic script for you to unlock your XBOX HDD. Just follow on-screen prompts.

Quick use (Console):

As above but you will boot into Slax verbose mode (console mode). The commands are the same as above.
Alternatively run the DOS tools using FreeDOS in the main bootloader screen. See help files more info.

Please see other help files on using hdparm (for advanced unlocking use) & FreeDOS to use the powerful & quick un/locking tools under DOS. 

Please note SATA HDD drives are largely untested but some users have suggested that forcing IDE legacy mode in the BIOS, may yield success.

scullc
14th April 2010
